package com.powerband.apiheartrate.heartrate

data class DaySumDetail(val lowStep: Int,
val lsDuration: Int,
val lsRate: Int,
val hsStep: Int,
val hsDuration: Int,
val spRate: Int,
val dlDuration: Int,
val dlRata: Int,
val lSleep: Int,
val hSleep: Int,
val maxRate: Int,
val minRate: Int,
val pressure: Int,
val oxgen: Int,
val dlRateDuration: Int,
val spRateDuration: Int
) {
    var avRateAccum: Double = 0.0
    init {
        avRateAccum = (dlRateDuration * dlRata + spRateDuration * spRate).toDouble()
    }
}
